package twoD.IsoPfem.Plasticity;

import twoD.IsoPfem.ElasticStructure;
import twoD.IsoPfem.Mesh;

public class PlasticStructure extends ElasticStructure {

	IPlasticModel plasticModel;

	public PlasticStructure(Mesh M) {
		super(M);
	}

	@Override
	public void updateGlobalState() {
		// do nothing
	}

	@Override
	public void updateInternalState() {
		/*
		 * computation sequence: // 1. collect all the strain from elements //
		 * 2. check the yield criterion // 3. do return-map if need // output
		 * sigma and consistent tangent operator and internal variables
		 */

		// for (IPlasticElement e : elements_) {
		// double f = yieldCriterion.f(e.computeSigma());
		// if (f <= 0) {
		// // do nothing
		//
		// } else {
		//
		// }
		// }
	}

	@Override
	public void solveStaticEquilibrium() {
		// TODO Auto-generated method stub

	}

	@Override
	public void solveStaticEquilibrium(double lambda) {
		// TODO Auto-generated method stub

	}

}
